package hto0206.spring4.basic;

public class HelloSpringBean04Factory {
	
	public static HelloSpringBean03 create(String type){
		HelloSpringBean03 myobj=null;
		
		if(type.equalsIgnoreCase("kor"))
			myobj = new HelloSpringBean03Kor();
		else if(type.equalsIgnoreCase("eng"))
			myobj = new HelloSpringBean03Eng();
		else if(type.equalsIgnoreCase("jpn"))
			myobj = new HelloSpringBean03Jpn();
		
		return myobj;		
	}

}


